<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>{{sn}}</h1>
<hr>
<label>
    <select>
        {% for val in list %}
            <option value={{val.id}}>{{val.name}}</option>
        {% endfor %}
    </select>
</label>
</body>
</html>